import request from '@/utils/request1'

// 列表展示
export function getList(query) {
  return request({
    url: 'admin/annual/index',
    method: 'get',
    params: query
  })
}
// 查看
export function getDetail(parmas) {
  let geturl = window.helper.getLink(parmas)
    return request({
      url: 'admin/annual/detail'+geturl,
      method: 'get',
      parmas
    })
  }
  // 导出
export function excelExport(query) {
  return request({
    url:'admin/annual/export',
    method:'get',
    params:query,
    responseType:"blob"
  })
}